<template>
  <div id="app">
    <router-view/>
  </div>
</template>
<script>

export default {
 
    mounted() {
    //vuex  actions中  获取所有 店铺的类型
    this.$store.dispatch("actions_getAllType");
    //获取 美食页 购物页的分页类型
    setTimeout(() => {
      // // 所有店铺类型
      console.log(
        "所有店铺类型   this.$store.state.AllShopTypes :",
        this.$store.state.AllShopTypes
      );
      console.log(
        "美食店铺类型   this.$store.state.AllShopTypes :",
        this.$store.state.DeliciousFoodShopTypes
      );
      console.log(
        "购物店铺类型   this.$store.state.AllShopTypes :",
        this.$store.state.ShoppingStoreTypes
      );
    }, 500);
   }
  
}
</script>

<style lang="less">

</style>
